<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">

    <title>修改密码</title>

    <link rel="stylesheet" href="/static/css-lib/bootstrap.min.css" />

    <style>
        .out-box {
            position: absolute;
            left: 50%;
            top: 10%;
            transform: translate(-50%);
            -webkit-transform: translate(-50%);
            -moz-transform: translate(-50%);
            -o-transform: translate(-50%);
        }
        .list-item {
            padding: 10px 15px;
            border-bottom: 1px solid #ddd;
            width: 100%;
        }
    </style>
</head>
<body>
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-5 out-box">
                <div class="panel panel-default">
                    <div class="panel-heading" style="text-align: center;">修改密码</div>
                    <div class="panel-body">
                        <div class="row">
                            <div class="list-item">
                                <div class="input-group">
                                    <form>
                                        <span class="input-group-addon">输入密码</span>
                                        <input id="password-1" type="password" class="form-control" placeholder="6~18位密码" maxlength="18" minlength="6" autocomplete="off" />
                                    </form>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="list-item">
                                <div class="input-group">
                                    <form>
                                        <span class="input-group-addon">确认密码</span>
                                        <input id="password-2" type="password" class="form-control" placeholder="确认密码" maxlength="18" minlength="6" autocomplete="off" />
                                    </form>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="list-item">
                                <button id="sub-btn" type="button" class="btn btn-default">提交</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 错误提示框 -->
    <div class="modal fade" id="errorBox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">错误</h4>
                </div>
                <div id="modal-content" class="modal-body"></div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>

    <script src="/static/js-lib/jquery-3.4.1.min.js"></script>
    <script src="/static/js-cus/UpdatePassword-User.js"></script>
</body>
</html>